- [:draft, :publish, :block, :unblock].each do |action|
  - if policy(item).send("#{action}?") && item.send("may_#{action}?")
    = link_to_update_status(item, action)
